From: Gabriel Wicke Date: Fri, 24 Mar 2006 16:06:57 +0000 (+0000) Subject: Make size of thumb box for non-existent images consistent with common 180px default... X-Git-Tag: 1.6.0~159 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=6e39f46aaa12cd5e125c2944e9d37e9c8acf7bd3;p=lhc%2Fweb%2Fwiklou.git Make size of thumb box for non-existent images consistent with common 180px default size; fixes a test case --- diff --git a/includes/Linker.php b/includes/Linker.php index 1cf5a57afa..aa51a1f5e9 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -572,10 +572,10 @@ class Linker { $height = $img->getHeight(); } if ( 0 == $width || 0 == $height ) { - $width = $height = 200; + $width = $height = 180; } if ( $boxwidth == 0 ) { - $boxwidth = 200; + $boxwidth = 180; } if ( $framed ) { // Use image dimensions, don't scale